import { Repo } from "./Repo"

export class User {
    id: string;
    name: string;
    avatar_url: string;
    login: string;
    repo: Repo;
    constructor(responseUser: any) {
        this.id = responseUser.id;
        this.name = responseUser.name;
        this.avatar_url = responseUser.avatar_url;
        this.login = responseUser.login;
        this.repo = responseUser.repo;
    }

}